package com.heima.model.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author Xiao
 * @version 1.0
 * @description 任务枚举
 * @date 2021/11/25
 */
@Getter
@AllArgsConstructor
public enum TaskTypeEnum {
    NEWS_SCAN_TIME(1001, 1,"文章定时审核"),
    REMOTEERROR(1002, 2,"第三方接口调用失败，重试");
    private final Integer taskType; //对应具体业务
    private final Integer priority; //业务不同级别
    private final String desc; //描述信息
}
